//
//  body in motion
//

object moving_body
  extends body

  attrs
    float   x_velocity
    float   y_velocity
    float   z_velocity
  end

  procs
    def move
      ins
        float   seconds
      end

      .x    +=  ( x_velocity * seconds )
      .y    +=  ( y_velocity * seconds )
      .z    +=  ( z_velocity * seconds )
    end
  end

end

